package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.controller.form.CreateOrderFoodForm;
import com.woniuxy.dao.model.DietOrderFood;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.service.dto.FoodMonthStacDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author psy
 * @since 2022-06-28
 */
public interface DietOrderFoodService extends IService<DietOrderFood> {

    boolean addOrderFood(CreateOrderFoodForm createOrderFoodForm);

    Page<FoodMonthStacDto> getFoodStac(Long pageNum, Long pageSize);
}
